Hello all,
I downloaded the csv file of information from the GENIE database. The date format is an integer but it is not formatting right based on the Stata -format- command with %td
I am getting dates in the future with the command below. Tried converting to string and redoing the code, but it still does not work.
Is there some universal integer datetime different from the Stata notation of datetime?
format int_contact %td
I downloaded the csv file of information from the GENIE database. The date format is an integer but it is not formatting right based on the Stata -format- command with %td
I am getting dates in the future with the command below. Tried converting to string and redoing the code, but it still does not work.
Is there some universal integer datetime different from the Stata notation of datetime?
format int_contact %td
Code:
* Example generated by -dataex-. For more info, type help dataex
clear
input int int_contact
19225
12057
23505
23426
18267
14626
20387
27128
26404
22846
23458
22923
24162
17552
22454
30623
20620
20938
24924
20227
28111
25974
23596
19412
26236
21091
24064
15323
18273
28853
25983
21645
22076
24700
24718
14358
24005
21334
16547
26614
.
.
23520
25368
20181
20810
26671
29712
25968
.
21781
17790
22807
14095
28910
15628
27122
18814
25090
23287
16187
24373
23461
23252
20423
24361
15117
25549
20972
26687
23663
19305
25784
16817
18465
26364
17432
27058
20711
23878
23303
24433
16087
20546
25521
18571
23287
15945
17539
17151
16248
24586
23095
22338
23305
20326
16014
20472
17557
15944
end

Comment